# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class ShiguangCareItem(scrapy.Item):
    # define the fields for your item here like:
    # typeList = scrapy.Field()

    companyId = scrapy.Field()  # 公司id
    userId = scrapy.Field()  # 人员id
    page = scrapy.Field()  # 详情页page


class ShiguangTypeItem(scrapy.Item):
    # define the fields for your item here like:
    companyId = scrapy.Field()  # 公司id
    userId = scrapy.Field()  # 人员id
    typeList = scrapy.Field()  # 类型list


class LuoShanCareItem(scrapy.Item):
    # define the fields for your item here like:
    companyId = scrapy.Field()  # 公司id
    userId = scrapy.Field()  # 人员id
    page = scrapy.Field()  # 详情页page


class WkCareItem(scrapy.Item):
    # define the fields for your item here like:

    page = scrapy.Field()  # 详情页page


class WkCommodityItem(scrapy.Item):
    """
    处理商品/场地
    """
    type = scrapy.Field()  # 1.场地  2.商品
    goodsId = scrapy.Field()  # id
    startTime = scrapy.Field()  # 时间
    timePeriod = scrapy.Field()  # 时段
    name = scrapy.Field()  # 名称
    udpateUnitPrice = scrapy.Field()  # 钱
    num = scrapy.Field()  # 数量
    remark = scrapy.Field()  # 备注


class WkCustomerItem(scrapy.Item):
    """
    客资信息
    """
    customer_one = scrapy.Field()  # 客资1
    business_type_name = scrapy.Field()  # 业务类型名字
    customer_one_phone = scrapy.Field()  # 客资1电话
    customer_source = scrapy.Field()  # 客户来源
    customer_tow = scrapy.Field()  # 客资2
    date = scrapy.Field()  # 时间
    date_period = scrapy.Field()  # 时段
    business_type = scrapy.Field()  # 业务类型
    remark = scrapy.Field()  # 备注
    sales = scrapy.Field()  # 销售
    number_of_tables = scrapy.Field()  # 卓数
    table_preparation = scrapy.Field()  # （婚/会）备桌
    diningStandard = scrapy.Field()  # （婚/会）餐标
    customize_one = scrapy.Field()  # 自定义
    customize_tow = scrapy.Field()  # 自定义
    customize_three = scrapy.Field()  # 自定义
    customize_four = scrapy.Field()  # 自定义
    customize_five = scrapy.Field()  # 自定义
    customize_six = scrapy.Field()  # 自定义
